07. Create Java Libraries

Create Java Libraries

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

The code for this exercise is in the 4.02-Exercise-CreateAJavaLibrary folder.

One thing we didn't mention in this video (but have since added to the course code), is that Java libraries for use with Android Studio need to be built with Java 7. Java 8 won't work. Thankfully it's just one line to tell the Gradle Java plugin to use Java 7:

sourceCompatibility = 1.7